<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">  
			document.getElementById()
		    var str = "<span style='display:none;'> 这里是去除html标签的测试了 www.111cn.net 整理原创哦</span><img src=''></img><strong></strong><br/>";  
		    str = str.replace(/<[^>].*?>/g,'');  
  			 alert(str); //this is test
		</script>
	</body>
</html>
